package com.apache.ibatis.configuration;

/**
 * mybatis-config.xml sql语句标签有关信息映射
 * 将StudentMapper.xml中 SQL语句标签的信息封装到该类中
 */
public class MappedStatement {

    //sql id表示
    private String id;

    //sql 传入参数类型
    private String parameterType;

    //sql 返回值类型
    private String resultType;

    //sql语句
    private String sql;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }
}
